var img = new Array("01.jpg","02.jpg","03.jpg","06.jpg");
	var foot=0;
	function setpic(){
		var imgelement=document.getElementById("imge");
		if(foot>=img.length){
			foot=0;
		}
		imgelement.src="img/"+img[foot++];
		setTimeout(setpic,2000);
	}
	setpic();